#ifndef SEQUENCEPAINTER_H
#define SEQUENCEPAINTER_H

#include "ActionListPainter.h"
#include "QString"
#include "QPixmap"

class SequenceItem;
class QPen;

class SequencePainter : public ActionListPainter
{
public:
   SequencePainter();
   virtual ~SequencePainter();

   // ActionListPainter interface
protected:
   virtual void paintItem(const QRect &draw_area, const QVariant &displayData, int position);

private:
   QString delayString( const SequenceItem *item);
   QPixmap itemPixmap( const SequenceItem *item);
   QString nextItemString( const SequenceItem *item);

private:
   QPen *m_penForItemNumber; /* pen used to draw index numbers */
};

#endif // SEQUENCEPAINTER_H
